package com.yh.dao;

import com.yh.entity.Employee;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface EmployeeDao {
    //登陆
    Employee empLogin(@Param("ename")String ename, @Param("epassword") String epassword);
    //查询所有员工
    List<Employee> findlist();
    
    //分页查询
    public List<Object> getEmployPage(Map<String, Object> employee);
    
    //查询数量
    public Integer getEmployeeCount(Map<String, Object> employee);
}
